Derivation of the Solution of the Diffusion Equation